package cn.itsource.service;


import cn.itsource.pojo.bo.RuleStartBo;
import cn.itsource.pojo.domain.ChargeRuleStart;
import cn.itsource.pojo.dto.RuleStartDto;
import cn.itsource.pojo.dto.RuleWaitDto;
import cn.itsource.pojo.dto.SharingDto;
import cn.itsource.pojo.vo.SharingVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 * 计价规则-起步价 服务类
 * </p>
 *
 * @author beishan
 * @since 2024-04-10
 */
public interface IChargeRuleStartService extends IService<ChargeRuleStart> {

    //计算 预付 -- 实付金额
    RuleStartBo ruleStartAdvance(RuleStartDto ruleStartDto);

    //平台抽成计价
    SharingVo sharing(SharingDto sharingDto);

    //等时计价
    RuleWaitDto ruleWait(Long moreData);


}
